#include "stdafx.h"
#include "BaseObject.h"

CBaseObject::CBaseObject()
{
	mName = TEXT("");
	mResourceName = TEXT("");
	mRefCount = 0;
	mID = 0;
}

void CBaseObject::SetName(const TCHAR* name)
{
	mName = name;
}

void CBaseObject::Release()
{
	if (--mRefCount == 0)
	{
		delete this;
	}
}
